import request from '@/utils/request';

const baseURL = '/energyMonthReport';


export const loadEnergyMonthReportList = year =>
  request({
    url: `${baseURL}/loadEnergyMonthReportList?year=${year}`,
    // url: `/energy/analyze/report/list/${year}`,
    method: 'GET'
  });

export const makeReport = dataTime =>
  request({
    url: `${baseURL}/makeReport?dataTime=${dataTime}`,
    // url: `/energy/analyze/report/make/${dataTime}`,
    method: 'GET'
  });
